﻿using System;
using TencentCloud.Common;
using TencentCloud.Common.Profile;
using TencentCloud.Ssl.V20191205;
using TencentCloud.Ssl.V20191205.Models;

namespace txcloud.sdk.SSL
{
    internal class ExtSslClient : SslClient
    {
        public ExtSslClient(Credential credential, string region) : base(credential, region)
        {
        }

        public ExtSslClient(Credential credential, string region, ClientProfile profile) : base(credential, region, profile)
        {
        }

        public ApplyCertificateResponse ModifyDomainAuthMethodSync(ModifyDomainAuthMethodRequest req)
        {
            return InternalRequestAsync<ApplyCertificateResponse>(req, "ModifyDomainAuthMethod").ConfigureAwait(continueOnCapturedContext: false).GetAwaiter().GetResult();
        }
    }
}
